/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kz.dasm.baing.rest.entity;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Kreedmart
 */
@XmlRootElement()
public class GenericResponse {

  private boolean success;
  private String errorMessage;


  public GenericResponse() {
  }


  @XmlElement
  public boolean isSuccess() {
    return success;
  }


  public void setSuccess(boolean success) {
    this.success = success;
  }


  @XmlElement
  public String getErrorMessage() {
    return errorMessage;
  }


  public void setErrorMessage(String errorMessage) {
    this.errorMessage = errorMessage;
  }
}
